package com.bdqn.vueboot.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @TableName department 部门表
 */
@TableName(value = "department")
@Data
public class Department implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    @TableField(value = "department_Name")
    private String departmentName;

    @TableField(value = "department_Head")
    private String departmentHead;
    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT, value = "creation_Id")
    private Integer creationId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT, value = "creation_Time")
    private Date creationTime;

    /**
     * 修改者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE, value = "update_Id")
    private Integer updateId;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE, value = "update_Time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
